import { resourcesList } from "../../../component";

export class Resources {
  public dataSet: resourcesList[] = [];
  constructor(rawData: string) {
    try {
      this.dataSet = JSON.parse(rawData);
    } catch (e) {
      console.log("error: cannot parse resources with rawData!", rawData);
    }
  }
  public getResources() {
    return this.dataSet;
  }
}
